<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>test.Rd</title>
<meta name="generator" content="KF5::SyntaxHighlighting (R documentation)"/>
</head><body style="color:#1f1c1b"><pre>
<span style="color:#898887;">% Single-line comment</span>
<span style="font-weight:bold;">\name</span>{<span style="color:#ff5500;">foo</span>}
<span style="color:#006e28;">#ifdef </span><span style="color:#644a9b;font-weight:bold;">unix</span>
<span style="font-weight:bold;">\alias</span>{<span style="color:#bf0303;">bar</span>}
<span style="color:#006e28;">#endif</span><span style="color:#898887;"> ignored</span>
<span style="font-weight:bold;">\title</span>{Foo}
<span style="font-weight:bold;">\description</span>{
    We have a list
    <span style="font-weight:bold;">\itemize</span>{
        <span style="font-weight:bold;">\item</span> foo,
        <span style="font-weight:bold;">\item</span> bar.
    }
    Also a table: <span style="font-weight:bold;">\tabular</span>{<span style="color:#bf0303;">lr</span>}{
        foo <span style="color:#644a9b;">\tab</span> <span style="font-weight:bold;">\code</span>{<span style="color:#bf0303;">foo</span>} <span style="color:#644a9b;">\cr</span>
        bar <span style="color:#644a9b;">\tab</span> <span style="font-weight:bold;">\preformatted</span>{<span style="color:#bf0303;">bar</span>}
    }
    <span style="font-weight:bold;">\samp</span><span style="color:#bf0303;text-decoration:underline;"> error</span>{code}
}
<span style="font-weight:bold;">\section</span>{<span style="color:#ff5500;">Section</span>}{
    Escaped braces don't need balance <span style="color:#3daee9;">\}</span>
    <span style="font-weight:bold;">\subsection</span>{<span style="color:#ff5500;">Subsection</span>}{
        <span style="font-weight:bold;">\subsection</span>{<span style="color:#ff5500;">Subsubsection</span>}{
            Sections can be nested.
        }
    }
}
<span style="font-weight:bold;">\usage</span>{
<span style="font-weight:bold;">foo</span>(a, <span style="color:#0057ae;">b =</span> default)
<span style="font-weight:bold;">\method</span>{<span style="color:#ff5500;">[</span>}{foo}(x, \dots)
}
<span style="font-weight:bold;">\newcommand</span>{<span style="color:#644a9b;">\macro</span>}{Test<span style="color:#0057ae;">#1</span>}
<span style="font-weight:bold;">\arguments</span>{
  <span style="font-weight:bold;">\item</span>{<span style="color:#ff5500;">a</span>}{<span style="font-weight:bold;">\if</span>{<span style="color:#644a9b;font-weight:bold;">html</span>}{&amp;pi; =} <span style="font-weight:bold;">\Sexpr</span>[<span style="color:#bf0303;">stage=build</span>]{<span style="color:#b08000;">4</span>*<span style="font-weight:bold;">atan</span>(<span style="color:#b08000;">1</span>)}}
  <span style="font-weight:bold;">\item</span>{<span style="color:#644a9b;">\dots</span>}{<span style="color:#644a9b;">\macro</span>{text} <span style="font-weight:bold;">\link</span>[<span style="color:#bf0303;">pkg:bar</span>]{<span style="color:#ff5500;">fooo</span>}}
}
<span style="font-weight:bold;">\value</span>{
  Return a <span style="font-weight:bold;">\code</span>{<span style="font-weight:bold;">\link</span>{<span style="color:#ff5500;">foo</span>}}.
}
<span style="font-weight:bold;">\seealso</span>{
  <span style="font-weight:bold;">\code</span>{<span style="font-weight:bold;">\link</span>{<span style="color:#ff5500;">bar</span>}}
}
<span style="font-weight:bold;">\examples</span>{
<span style="color:#898887;"># R comment</span>
<span style="color:#898887;">% Rdoc comment</span>
<span style="font-weight:bold;">foo</span>(<span style="color:#b08000;">1</span>)
<span style="font-weight:bold;">\donttest</span>{<span style="font-weight:bold;">foo</span>(<span style="color:#b08000;">2</span>)}
<span style="font-weight:bold;">\dontrun</span>{<span style="color:#bf0303;">foo(3)</span>}
<span style="font-weight:bold;">for</span> (i <span style="font-weight:bold;">in</span> <span style="color:#b08000;">1</span>:<span style="color:#b08000;">10</span>)
    <span style="font-weight:bold;">foo</span>(i)
}
<span style="font-weight:bold;">\keyword</span>{<span style="color:#ff5500;">foo</span>}
</pre></body></html>
